package app

import (
	"github.com/gin-gonic/gin"
	"organoid_public/app/browse"
	"organoid_public/app/common"
	"organoid_public/app/merchant"
	"organoid_public/app/open_app"
	"organoid_public/app/sample"
	"organoid_public/app/search"
	"organoid_public/app/user"
)

// LoadRoutes 加载路由
func LoadRoutes(r *gin.Engine) {
	appG := r.Group("/api/")
	common.Setup(appG)
	search.Setup(appG)
	sample.Setup(appG)
	browse.Setup(appG)
	user.Setup(appG)
	open_app.Setup(appG)
	merchant.Setup(appG)
}
